package com.yvdedu.my161121.addressbook.biz.entity;

import java.io.Serializable;

public class User implements Serializable {



	private static final long serialVersionUID=1L ;
	private int id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", name='" + name + '\'' +
				", role=" + role +
				'}'+'\n';
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	private String name;
	 
	private Role role;
	 
}
 
